package com.ktg.mes.pro.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;


/**
 * 收录生产警告警告对象 pro_waring
 *
 * @author byteco
 * @date 2022-11-28
 */

@Data
@Accessors(chain = true)
@TableName("pro_waring")
public class ProWaring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 警告记录id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /** 警告类型 使用字典 pro_waring_type */
    @Excel(name = "警告类型 ")
    private String type;


    /** PDA采集的记录ID */
    @Excel(name = "PDA采集的记录ID")
    private String recordId;


    /** 生产任务 */
    @Excel(name = "生产任务")
    private String taskName;


    /** 生产批次 */
    @Excel(name = "生产批次")
    private String batchNo;


    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceCode;

    /** 机台名称 */
    @Excel(name = "机台名称")
    private String deviceName;


    /** 工序名称 */
    @Excel(name = "工序名称")
    private String processName;


    /** 装桶 */
    @Excel(name = "装桶")
    private String bucket;


    /** 警告说明 */
    @Excel(name = "警告说明")
    private String des;


    /** 设备上传数据的记录ID */
    @Excel(name = "设备上传数据的记录ID")
    private Long machineryDataId;


    public final static String type采集记录 = "1";
    public final static String type电表 = "2";
    public final static String type温度 = "3";



}
